package com.xckj.dto;

import java.util.ArrayList;
import java.util.List;

public class MethodTreeDto {
	/**
	 * 主键id
	 */
	private String id;
	/**
	 * 序号
	 */
	private String xh;

    /**
     * 方法所在层级
     */
    private String level;
    
    /**
     * 方法所在行
     */
    private String number;
    
    /**
    * 方法名称
    */
    private String methodName;
    
    /**
     * 子节点
     */
    private List<MethodTreeDto> children = new ArrayList<>(); 
    
	public MethodTreeDto() {
	}

	public MethodTreeDto(String id, String xh, String level, String number, String methodName) {
		super();
		this.id = id;
		this.xh = xh;
		this.level = level;
		this.number = number;
		this.methodName = methodName;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getXh() {
		return xh;
	}

	public void setXh(String xh) {
		this.xh = xh;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getMethodName() {
		return methodName;
	}

	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}

	public List<MethodTreeDto> getChildren() {
		return children;
	}

	public void setChildren(List<MethodTreeDto> children) {
		this.children = children;
	}
}
